package com.JupiterMoons;

//Class XYCoords, besed on:
//
// AstroCoords.java:
// Various coordinate classes useful for astronomical calculations.
//    Copyright 1996 by Akkana Peck.
// You may use or distribute this code under the terms of the GPL.
//
// $Rev$
// $LastChangedDate$

/**
 *
 * @author moreto
 */
public class XYCoord {
    double x, y;

    public XYCoord() { x = y = Double.POSITIVE_INFINITY; }

    public XYCoord(double _x, double _y) { x = _x; y = _y; }

    public String toString()
    {
        return "(" + new Double(x).toString() + ", "
            + new Double(y).toString() + ")";
    }
}
